package com.foreknow.demo8;

public class TestPerson {
    public static void main(String[] args) {
        Person p = Person.getPerson();
        p.setName("fender");
        System.out.println(p.getName());

        Person p1 = Person.getPerson();
        System.out.println(p1.getName()); //返回fender
    }
}
